package com.godtree.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.godtree.dao.RankScoreMapper;
import com.godtree.model.RankScore;
import com.godtree.service.IRankScoreService;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 排名数据项 服务实现类
 * </p>
 *
 * @author lisicheng
 * @since 2022-07-18
 */
@Service
public class RankScoreServiceImpl extends ServiceImpl<RankScoreMapper, RankScore> implements
    IRankScoreService {

  @Override
  public void updateRankValue(String rankId, String rankItemId, Boolean inverted) {
    baseMapper.updateRankValue(rankId, rankItemId, inverted);
  }

  @Override
  public void deleteByDoubleIn(String rankId, List<Map<String, String>> doubleInList) {
    baseMapper.deleteByDoubleIn(rankId, doubleInList);
  }
}
